package com.dongdong.bookstore.module.cms.viewmodel;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;

/**
 * @author chiangkai
 * @date 2021-10-30
 * @email chiangkk@163.com
 */
@Data
@Accessors(chain = true)
public class UserLoginParam {
    @NotEmpty(message = "账号不能为空")
    @ApiModelProperty(value = "账号", required = true)
    private String account;

    @ApiModelProperty(value = "密码", required = true)
    @NotEmpty(message = "密码不能为空")
    private String password;
}
